<?php

class Skjb_Search_Xapian_ValueIterator
{
    public $_cPtr=null;

    function __construct($other=null) {
        switch (func_num_args()) {
        case 0: $r=new_ValueIterator(); break;
        default: $r=new_ValueIterator($other);
        }
        $this->_cPtr=$r;
    }

    function get_value() {
        return ValueIterator_get_value($this->_cPtr);
    }

    function next() {
        ValueIterator_next($this->_cPtr);
    }

    function equals($other) {
        return ValueIterator_equals($this->_cPtr,$other);
    }

    function get_valueno() {
        return ValueIterator_get_valueno($this->_cPtr);
    }

    function get_description() {
        return ValueIterator_get_description($this->_cPtr);
    }
}